package com.rhb.erp.hr.department.business;
import java.util.List;

import javax.xml.parsers.ParserConfigurationException;

import org.w3c.dom.Document;

import com.rhb.erp.hr.department.bean.*;
import com.rhb.exception.CanNotBeDeletedException;
import com.rhb.exception.CircleException;
import com.rhb.exception.DuplicateException;

public interface DepartmentBusiness {
	public String create(Department obj) throws DuplicateException,CircleException;
	public void update(Department obj) throws DuplicateException,CircleException;
	public void delete(Department obj) throws CanNotBeDeletedException;
	public Department findByPk(String pk);

	public List findByQuery(DepartmentQuery query,int start, int count);
	public int getAllCount_findByQuery(DepartmentQuery query);
	public Document getDepartmentXMLDoc();

}
